﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
namespace PicturePortfolio.Domain
{
    [DataContract]
    public class Category
    {
        public Category()
        {
            this.GUID = Guid.NewGuid().ToString();
            this.CategoryThumbNail=new byte[0];
        }
        [DataMember]
        public string GUID
        {
            get;
            private set;
        }

        [DataMember]
        public string CategoryName { get; set; }

        [DataMember]
        public byte[] CategoryThumbNail { get; set; }

        [DataMember]
        public string CategoryDescription { get; set; }
    }
}
